Accord expected to take effect on Wednesday and clears way for end to conflict between Israel and Lebanon’s Hizbullah